getType

open fun getType(): ModuleType

Gets the type of the underlying module or content associated with this control.

This indicates the primary nature or functionality of the control, such as whether it's a web view, video player, image display, etc.

Return

The ModuleType for this view. This is determined by parsing the type string. Returns UNKNOWN if the module or its type is null, or if the type string is not recognized.